package com.koron.order.application.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName DefectLevelFeign
 * @description
 * @Author zhouj
 * @Date 2022/2/10 10:06
 */
@FeignClient(value = "eam-service-operation", fallbackFactory = FeignFallbackFactory.class)
public interface DispatchStatusFeignService {

    @GetMapping("/equipment/changeStatusOverhaul")
    Response<Object> changeStatus(@RequestParam("businessId") String businessId,
                                @RequestParam("businessStatus") Integer businessStatus,
                                @RequestParam("changeTime") String changeTime,
                                @RequestParam("content") String content,
                                @RequestParam("equipmentId") String equipmentId,
                                @RequestParam("status") Integer status);

}
